/**
 * @description 朋友圈数据表
 * @author malin
 */

const seq = require('../seq')
const { STRING, TEXT, INTEGER } = require('../types')

const Pyq = seq.define('pyq', {
    userId: {
        type: INTEGER,
        allowNull: false,
        comment: '发布者ID'
    },
    content: {
        type: TEXT,
        allowNull: false,
        comment: '朋友圈内容'
    },
    image: {
        type: STRING,
        comment: '朋友圈图片'
    }
})

module.exports = Pyq